-- GENERATED SPELL FOR [Twilight's Hammer Torturer] --


function spell0_8912(pUnit, Event) --@Shadow Word: Pain,n/a--
pUnit:FullCastSpellOnTarget(14032,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8912', 18000, 1)
end

function Sorts_8912(pUnit, Event)
local choix_sorts_8912 = math.random(0, 0)
if choix_sorts_8912 == 0 then
pUnit:RegisterEvent('spell0_8912', 1, 1)
end
end

function mob8912_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8912', math.random(1500, 3000), 1)
end

function mob8912_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8912_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8912_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8912, 1, 'mob8912_Action')
RegisterUnitEvent(8912, 2, 'mob8912_Leave')
RegisterUnitEvent(8912, 3, 'mob8912_Kill')
RegisterUnitEvent(8912, 4, 'mob8912_Die')
